const fs = require('fs-extra');
fs.copyFileSync('public/data/naviData.js', 'build/data/naviData.js');

let exec = require('child_process').exec;
exec('git add .',() => {
  exec('git push', () => {
    exec('git commit -m buildFast', () => {
      exec('git push -u origin master', () => {
        console.info('git is over')
        exec('start https://gitee.com/pengchenggang/navigator/pages')
      })
    })
  })
})

